/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include <UI/UI.h>
#include "框架/屏幕.h"

#include "../播放条.h"


class C_界面设置面板 : public C_Widget {

public:
	C_界面设置面板(S_UI创建环境& ctx);
	~C_界面设置面板();

};

class C_操作设置面板 : public C_Widget {

public:
	C_操作设置面板(S_UI创建环境& ctx);
	~C_操作设置面板();

};

class C_文件设置面板 : public C_Widget {

public:
	C_文件设置面板(S_UI创建环境& ctx);
	~C_文件设置面板();

};

class C_编译设置面板 : public C_Widget {

public:
	C_编译设置面板(S_UI创建环境& ctx);
	~C_编译设置面板();

};




class C_设置视口 : public C_Widget {
	
public:
	C_设置视口(S_UI创建环境& ctx);
	~C_设置视口();

	S_Props m_设置类型;

	ui_绘制模板_画预设图形	m_背景绘制;
	ui_绘制模板_画预设图形	m_背景线绘制;
	ui_绘制模板_行文本绘制	m_标签绘制;

	C_界面设置面板* m_界面设置面板;
	C_操作设置面板* m_操作设置面板;
	C_文件设置面板* m_文件设置面板;
	C_编译设置面板* m_编译设置面板;


	std::vector<C_节点基类*> m_节点;
	std::set<S_物体*>        m_物体;

	C_属性栏* m_属性栏;

	C_Widget* mui_切换导航;
	C_Widget* mui_滚动框;

	bool m_是否未绘制;
	static C_设置视口* g当前操作2D编辑视口;

};


C_Widget*	f_工作区页面_设置视口(S_UI创建环境& ctx);




